package idv.long.mcv.control
{
	import idv.long.mcv.model.PhysicProxy;
	import idv.long.util.interfaces.IPhysicsInterface;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class UpdateCommand extends SimpleCommand
	{
		public function UpdateCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			 var phyProxy:PhysicProxy = PhysicProxy(facade.retrieveProxy(PhysicProxy.NAME));
			 phyProxy.engine.update();
			 
		}
		
	}
}